package com.zhixinsou.wuyang.util;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class Test {
    public static void main(String[] args){
        String test = "IACI OTC (01/02/04) (INTRADAY) $33.60";
        Pattern patternTicker4 = Pattern.compile("([A-Z]+)\\s([A-Z]+).*($).*");
        Matcher matcherTicker4 = patternTicker4.matcher(test);
        if (matcherTicker4.find()) {
            System.out.println(matcherTicker4.group(1));
            System.out.println(matcherTicker4.group(2));
        }
    }
}
